package service

import (
	"bc/util/library/zstack/hard"
	"github.com/gin-gonic/gin"
)
type storage struct {

}
func (s *storage) Aa (c *gin.Context){


	b := "OAuth ec502f254d54461095078003effd28a6"

	m := map[string]string{
		"Content-Type" : "application/json;charset=UTF-8",
		"Authorization" : b,
	}

	r ,err := hard.Storage.GetBackupStorageTypes(m)
	if err != nil{
		c.JSON(200,gin.H{
			"code":500,
			"msg":err,
		})
		return
	}
	c.JSON(200,gin.H{
		"d":r,
	})
}
var Storage = &storage{}
